<?php
//邮件模板
$tpl = <<<EOF
<html>
<head></head>
<body>
<br><table style="margin: 25px auto;" border="0" cellspacing="0" cellpadding="0" width="648" align="center"><tbody>
<tr>
<td style="border-left: 1px solid #D1FFD1; padding: 20px 20px 0px; background: none repeat scroll 0 0 #ffffff; border-top: 5px solid #40AA53; border-right: 1px solid #D1FFD1;">
<p>你好,%s !</p><p>您在 %s (IP:%s) 申请通过邮箱找回密码。</p>
</td>
</tr>
<tr>
<td style="border-left: 1px solid #D1FFD1; padding: 10px 20px; background: none repeat scroll 0 0 #ffffff; border-right: 1px solid #D1FFD1;">
<p style="font-weight:bold">请点击下面链接进行密码重置：<br>
<a href="%s">%s</a></p><p><font size="1" color="#c0c0c0" face="宋体">如无法点击此链接，请将其复制到浏览器地址栏后访问</font></p><p><font color="#ff0000" size="2" face="宋体">为了保证您的账号安全，该链接有效期为24小时！并且点击一次后链接失效。</font></p>
</td>
</tr>
<tr>
<td style="border-bottom: 1px solid #D1FFD1; border-left: 1px solid #D1FFD1; padding: 0px 20px 20px; background: none repeat scroll 0 0 #ffffff; border-right: 1px solid #D1FFD1;">
<hr style="color:#ccc;">
<p style="color:#060;font-size:9pt;">想了解更多信息，请访问 <a href="http://localhost/">http://localhost/</a></p>
</td>
</tr>
</tbody>
</table>
</body>
</html>
EOF;
return $tpl;